package com.evil.application.pojo.bo.application.form.control;

import cn.hutool.core.bean.BeanUtil;
import com.evil.application.pojo.entity.ApplicationFormControl;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class FormControlBO extends ApplicationFormControl {

    private List<FormControlBO> child = new ArrayList<>();

    public FormControlBO(ApplicationFormControl applicationFormControl) {
        BeanUtil.copyProperties(applicationFormControl, this);
    }
}
